Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 5 - Menu Manager Reference / Menu Manager Functions
Manipulating and Accessing Menu Item Characteristics /


GetMenuItemModifiers

NEW WITH THE APPEARANCE MANAGER

Gets the modifier keys that must be pressed with a character key to select a particular menu item.

pascal OSErr GetMenuItemModifiers (
                     MenuHandle inMenu,
                     SInt16 inItem,
                     SInt16* outModifiers);
inMenu
The handle to the menu structure of the menu item for which you wish to get the modifier key(s).
inItem
An integer representing the item number of the menu item for which you wish to get the modifier key(s).
outModifiers
On output, a pointer to a mask representing the modifier keys that can be used in selecting the menu item; see "Modifier Key Mask Constants".
function result
A result code; see "Result Codes".
SEE ALSO
"Appearance Manager Gestalt Selector Constants".

SetMenuItemModifiers.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998